/*
 * @Author: hq
 * @Date: 2022-07-13 13:36:13
 * @LastEditors: hq
 * @LastEditTime: 2022-07-13 15:18:30
 * @Description: your project
 * @version: 1.0
 */
import request from "@/utils/request";

//配置项

//公告列表
export function noticeList(data) {
    return request({
        url: "conf/announce", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//公告详情
export function noticeDetail(data) {
    return request({
        url: "conf/announceDetail", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//公告添加
export function addAnnounce(data) {
    return request({
        url: "conf/addAnnounce", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//公告编辑
export function editAnnounce(data) {
    return request({
        url: "conf/editAnnounce", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//删除公告
export function delAnnounce(data) {
    return request({
        url: "conf/delAnnounce", //自己的接口地址
        method: "post", //请求方法
        data
    });
}